<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt" %>
<c:set var="url" value="${pageContext.request.contextPath}/" />
<link rel="stylesheet" href="${url }plugins/select2/select2.min.css">
<script src="${url }plugins/select2/select2.full.min.js"></script>

<div class="box box-primary">
	<div class="box-header with-border">
		<h3 class="box-title">TcpBeat / </h3>
		<!-- /.box-tools -->
	</div>
	
  <!-- /.box-header -->
  <div class="box-body no-padding">
    <div class="table-responsive mailbox-messages">
      <table class="table table-bordered">
      	<thead>
      		<tr style="background-color: #f9f9f9;">
      		<th>PORT</th>
      		<th>日志名称</th>
      		<th>解析规则</th>
      		</tr>
      	</thead>
        <tbody>
        <tr>
          <td>6999</td>
          <td>zhuji</td>
          <td>主机管控</td>
        </tr>
        </tbody>
      </table>
      <!-- /.table -->
    </div>
    <!-- /.mail-box-messages -->
  </div>
  <!-- /.box-body -->
  
</div>

<div class="box box-info">
<!-- /.box-header -->
  <div class="box-body form-horizontal">
  	<div class="form-group">
       <label for="inputEmail3" class="col-sm-2 control-label">监听端口</label>
       <div class="col-sm-3">
         <input type="text" class="form-control" id="inputEmail3" placeholder="监听端口">
       </div>
     </div>
     <div class="form-group">
       <label for="inputEmail3" class="col-sm-2 control-label">日志名称</label>
       <div class="col-sm-3">
         <input type="text" class="form-control" id="inputEmail3" placeholder="日志名称">
       </div>
     </div>
  	<div class="form-group">
       <label for="inputEmail3" class="col-sm-2 control-label">解析规则</label>
       <div class="col-sm-3">
         <select name="sysRole" class="form-control select2">
			<option value="1">主机管控日志解析</option>
			<option value="2">OA日志解析</option>
		</select>
       </div>
     </div>
      <div class="box-footer">
        <a type="submit" class="btn btn-info">添加</a>
        <a href="javascript:linkByDom('local-list','${url }collect/getBeatList');" class="btn btn-default">取消</a>
     </div>
  </div>
</div>
<input type="hidden" value="${ip }" id="addIp" />				            

